bin=spin_lock.exe	#read_write_lock
src=spin_lock.cc	#read_write_lock.cc
$(bin):$(src)
	g++ -o $@ $^ -std=c++11 -lpthread
.PHONY:clean
clean:
	rm -f $(bin)